package com.zgs.mall.cart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

//nacos服务注册发现
//开启feigen
@EnableRedisHttpSession //开启session共享
@EnableFeignClients(basePackages="com.zgs.mall.cart.feign")
@EnableDiscoveryClient//nacos服务注册发现
@SpringBootApplication
public class MallCartServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallCartServerApplication.class, args);
    }

}
